#define _CRT_SECURE_NO_WARNINGS 1
#include "Seqlist.h"
void TestSeqList1()
{
	SL sl;
	SeqlistInit(&sl);
	SeqlistPushFront(&sl, 1);
	SeqlistPushFront(&sl, 2);
	SeqlistPushFront(&sl, 3);
	SeqlistPushFront(&sl, 4);
	SeqlistPushFront(&sl, 5);

	SeqListPrint(&sl);

	SeqListPopBack(&sl);
	SeqListPrint(&sl);

	SeqListPopFront(&sl);
	SeqListPrint(&sl);

	SeqlistInsert(&sl,1, 7);
	SeqListPrint(&sl);
	SeqlistErase(&sl, 1);
	SeqListPrint(&sl);
	SeqlistModity(&sl, 1, 9);
	SeqListPrint(&sl);

	SeqlistDestory(&sl);

}
int main()
{
	TestSeqList1();
	return 0;
}